package com.yungu.swift.lbs.model;

import java.io.Serializable;
import java.lang.annotation.Documented;
import java.util.Date;

/**
 * 司机位置信息.
 * <p>
 * Created by cuixiuyin on 18/12/29.
 */
public class DriverPoint implements Serializable {

    /**
     * 司机状态（1.上班空车, 2.上班重车, 3.上班重车报警）
     */
    public final static Integer STATUS_ONLINE = 1;
    public final static Integer STATUS_BUSY = 2;
    public final static Integer STATUS_ALARM = 3;

    /**
     * ID
     */
    private String _id;
    /**
     * 司机Uuid
     */
    private String driverUuid;
    /**
     * 司机位置
     */
    private Coordinate coordinate;
    /**
     * 订单中累计距离
     */
    private Double mileage;
    /**
     * 状态
     */
    private Integer status;
    /**
     * 上传时间
     */
    private Date uploadTime;
    /**
     * 司机类型
     */
    private Integer type;
    /**
     * 方向角
     */
    private Double angle;
    /**
     * 应用ID
     */
    private String appid;
    /**
     * 存放查询的距离
     */
    private Double distance;

    public Double getDistance() {
        return distance;
    }

    public Double getAngle() {
        return angle;
    }

    public void setAngle(Double angle) {
        this.angle = angle;
    }

    public void setDistance(Double distance) {
        this.distance = distance;
    }

    public String getDriverUuid() {
        return driverUuid;
    }

    public void setDriverUuid(String driverUuid) {
        this.driverUuid = driverUuid;
    }

    public Coordinate getCoordinate() {
        return coordinate;
    }

    public void setCoordinate(Coordinate coordinate) {
        this.coordinate = coordinate;
    }

    public Double getMileage() {
        return mileage;
    }

    public void setMileage(Double mileage) {
        this.mileage = mileage;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    public String get_id() {
        return _id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public void set_id(String _id) {
        this._id = _id;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }
}
